package com.hewl.shiro.admin.dao;

import java.util.Set;

import com.hewl.shiro.admin.entity.SysPermission;

public interface PermissionMapper {
    int deleteByPrimaryKey(String id);

    int insert(SysPermission record);

    int insertSelective(SysPermission record);

    SysPermission selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(SysPermission record);

    int updateByPrimaryKey(SysPermission record);
    
    Set<String> findPermissionByUid(String userId);
}